package com.dx.as;

import android.view.View;

/**
 *
 * Created by d_xxiang
 */
public class ToolBarOptions {
    /**
     * toolbar的title资源id
     */
    public int titleId = 0;
    /**
     * toolbar的title
     */
    public String titleString;
    /***
     *左侧按钮
     */
    public int leftOptionId = 0;
    /**
     *左侧按钮
     */
    public String leftOptionString;

    /**
     *右侧操按钮
     */
    public int rightOptionId = 0;
    /**
     *右侧操作按钮
     */
    public String rightOptionString;

    /**
     * toolbar的返回按钮资源id，默认开启的资源nim_actionbar_dark_back_icon
     */
    public int leftDrawId = 0;

    /**
     * 右侧图片资源
     */
    public int rightDrawId = 0;

    /**
     *左侧操作区是否显示
     */
    public boolean showLeft = true;
    /**
     * 右侧操作区是否显示
     */
    public boolean showRight = false;

    public View toolView;

    /**
     * 点击事件
     */
    public View.OnClickListener onLeftClickListener;

    public View.OnClickListener onRightClickListener;

    public View.OnClickListener onLeftImgClickListener;

    public View.OnClickListener onRightImgClickListener;

    public int toolbarViewId;

    public boolean showRightImg = false;
    public boolean showLeftImg = false;

    public int rightDrawImgId;
    public int leftDrawImgId;
}
